<template>
	<view class="bigBox">
		<u-navbar leftIconColor='#fff' :autoBack="true" bgColor='#000' title='支付结果' titleStyle="color:#fff;">
		</u-navbar>
		<view class="box">
			<view class="title">
				<u-icon name='checkmark-circle-fill' color='#BD3124' size='60rpx'></u-icon>
				<text class="fuck">支付成功</text>
			</view>
			<view class="text">实付金额：¥2300.00</view>
			<view class="btn">
				<view class="red">查看订单</view>
				<view class="blue">返回首页</view>
			</view>
		</view>
		<view class="shop">
			<view class="shopTitle">其他人还购买了</view>
			<view class="fuck">
				<template v-for="item in 4">
					<view class="shopData">
						<u-avatar :src="src" shape='square' size='340rpx'></u-avatar>
						<view class="title">索尼（SONY）KDL-50索尼（SONY）KDL-50索尼（SONY）KDL-50</view>
						<view class="text">【11.11索尼电视火爆预售】现爆预售】现爆预售】现</view>
						<view class="money">¥1288.00</view>
					</view>
				</template>
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				src:'https://cdn.uviewui.com/uview/album/6.jpg'
			}
		}
	}
</script>

<style>
	.bigBox {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-top: 160rpx;
		height: calc(100vh - 320rpx);
		padding-bottom: 160rpx;
		background-color: #F8F8F8;
	}
</style>
<style lang="less">
	.shop{
		margin-top: 100rpx;
		width: 750rpx;
		background-color: #fff;
		.shopTitle{
			width: 670rpx;
			padding: 20rpx;
			color: rgba(0, 7, 15, 100);
			font-size: 28rpx;
		}
		.fuck{
			width: 710rpx;
			padding: 20rpx;
			display: flex;
			justify-content: space-between;
			flex-wrap: wrap;
			padding-bottom: 100rpx;
			.shopData{
				width: 340rpx;
				margin-top: 20rpx;
				.title{
					width: 340rpx;
					color: rgba(0, 7, 15, 100);
					font-size: 28rpx;
					font-weight: 700;
					overflow: hidden;
					word-break: break-all;  /* break-all(允许在单词内换行。) */
					text-overflow: ellipsis;  /* 超出部分省略号 */
					display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/
					-webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
					-webkit-line-clamp: 1; /** 显示的行数 **/
				}
				.text{
					margin-top: 8rpx;
					width: 340rpx;
					color: rgba(190, 199, 209, 100);
					font-size: 24rpx;
					overflow: hidden;
					word-break: break-all;  /* break-all(允许在单词内换行。) */
					text-overflow: ellipsis;  /* 超出部分省略号 */
					display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/
					-webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
					-webkit-line-clamp: 1; /** 显示的行数 **/
				}
				.money{
					margin-top: 20rpx;
					color: rgba(255, 78, 95, 100);
					font-size: 28rpx;
					font-weight: 700;
				}
			}
		}
		
	}
	.box{
		margin-top: 120rpx;
		width: 520rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		.title{
			display: flex;
			align-items: center;
			.fuck{
				margin-left: 20rpx;
				color: rgba(0, 0, 0, 1);
				font-size: 36rpx;
				font-weight: 700;
			}
		}
		.text{
			margin-top: 60rpx;
			color: rgba(0, 0, 0, 1);
			font-size: 28rpx;
		}
		.btn{
			margin-top: 55rpx;
			width: 520rpx;
			display: flex;
			justify-content: space-between;
			.red,.blue{
				width: 214rpx;
				height: 80rpx;
				line-height: 80rpx;
				
				color: rgba(255, 255, 255, 100);
				font-size: 28rpx;
				text-align: center;
				font-family: Arial;
				border: 2rpx solid rgba(190, 199, 209, 100);
			}
			.red{
				background-color: rgba(189, 49, 36, 100);
			}
			.blue{
				background-color: rgba(22, 132, 252, 100);
			}
		}
	}
</style>
